View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001339 | K18X001.00 SKB SWAN | SW | public | 2021-09-01 17:10 | 2021-09-06 09:40 |
| Reporter | (ALTech) Sangmin Choi | Assigned To | (SW) Jim Chen | Due Date | 2021-09-03 17:58 |
| Priority | high | Severity | s2-severe | Reproducibility | always |
| Status | closed | Resolution | fixed | ||
| Summary | 0001339: There is no response for BluetoothAdapter.getProfileProxy function. | ||||
| Description | There is no response for BluetoothAdapter.getProfileProxy function. I think the com.vasott.a2dpdeviceservice already occupied some resource for Bluetooth A2DP, so other app can't call this function. You can test using attached test application. Install the attached application and allow all permissions. When you push the CONNECT button, then getProfileProxy function is called from application. And, I can see following logcat messages, the function is waiting for binding service. 09-01 17:51:05.383 com.example.bt_test 8792 - D ALT_BT_INFO_MAIN Connect button clicked 09-01 17:51:05.383 com.example.bt_test 8792 - D ALT_BT_INFO_MAIN bluetoothAdapter is not null 09-01 17:51:05.389 com.example.bt_test 8792 - D BluetoothA2dp Binding service... And, when I kill com.vasott.a2dpdeviceservice, then getProfileProxy function is executed. # kill -9 $(pidof com.vasott.a2dpdeviceservice) 09-01 17:51:27.619 com.example.bt_test 8792 8815 D BluetoothAdapter onBluetoothServiceDown: android.bluetooth.IBluetooth$Stub$Proxy@ed42172 09-01 17:51:27.654 com.example.bt_test 8792 8815 D BluetoothAdapter onBluetoothServiceDown: null 09-01 17:51:28.012 com.example.bt_test 8792 8815 D BluetoothAdapter onBluetoothServiceUp: android.bluetooth.IBluetooth$Stub$Proxy@9c9626c 09-01 17:51:28.568 com.example.bt_test 8792 - D BluetoothA2dp Proxy object connected 09-01 17:51:28.569 com.example.bt_test 8792 - D ALT_BT_INFO_MAIN onServiceConnected profile : 2 09-01 17:51:28.569 com.example.bt_test 8792 - D ALT_BT_INFO_MAIN BluetoothProfile.A2DP Could you please check and improve it to possible use getProfileProxy function from other apps? Thank you. | ||||
| Tags | No tags attached. | ||||
| Attach Tags | |||||
|
|
|
|
|
I stop a2dpdeviceservice in setting, but still I can't see onServiceConnected message any more information? |
|
|
I heard this issue was resolved. The Home UI used other parameter for getProfileProxy function, and they can get the result. Thank you for support. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2021-09-01 17:10 | (ALTech) Sangmin Choi | New Issue | |
| 2021-09-01 17:10 | (ALTech) Sangmin Choi | Status | new => assigned |
| 2021-09-01 17:10 | (ALTech) Sangmin Choi | Assigned To | => (SW) Jacky Chiang |
| 2021-09-01 17:10 | (ALTech) Sangmin Choi | File Added: app-debug.apk | |
| 2021-09-02 08:32 | (SW) Jacky Chiang | Assigned To | (SW) Jacky Chiang => (SW) Jim Chen |
| 2021-09-02 12:40 | (SW) Jim Chen | File Added: WeChat截圖_20210902123542.png | |
| 2021-09-02 12:40 | (SW) Jim Chen | Note Added: 0008042 | |
| 2021-09-06 09:40 | (ALTech) Sangmin Choi | Status | assigned => closed |
| 2021-09-06 09:40 | (ALTech) Sangmin Choi | Resolution | open => fixed |
| 2021-09-06 09:40 | (ALTech) Sangmin Choi | Note Added: 0008066 |
